home *** CD-ROM | disk | FTP | other *** search
/ Almathera Ten Pack 2: CDPD 1 / Almathera Ten on Ten - Disc 2: CDPD 1.iso / pd / 351-375 / 351 / pdc / bin.lzh / include / stdlib.h < prev    next >
C/C++ Source or Header  |  1990-04-06  |  2KB  |  52 lines

  1. /*
  2.  * Libraries and headers for PDC release 3.3 (C) 1989 Lionel Hummel.
  3.  * PDC Software Distribution (C) 1989 Lionel Hummel and Paul Petersen.
  4.  * PDC I/O Library (C) 1987 by J.A. Lydiatt.
  5.  *
  6.  * This code is freely redistributable upon the conditions that this 
  7.  * notice remains intact and that modified versions of this file not
  8.  * be included as part of the PDC Software Distribution without the
  9.  * express consent of the copyright holders.  No warrantee of any
  10.  * kind is provided with this code.  For further information, contact:
  11.  *
  12.  *  PDC Software Distribution    Internet:                     BIX:
  13.  *  P.O. Box 4006             or hummel@cs.uiuc.edu            lhummel
  14.  *  Urbana, IL  61801-8801       petersen@uicsrd.csrd.uiuc.edu
  15.  */
  16.  
  17. /* stdlib.h - Declarations for functions in the standard C library
  18.  */
  19.  
  20. extern void          abort(void);
  21. extern float         atof(char *);
  22. extern int           atoi(char *);
  23. extern long          atol(char *);
  24. extern void         *calloc(int, int);
  25. extern void          exit(int);
  26. extern void          free(void *);
  27. extern char         *getenv(char *);
  28. extern void         *malloc(int);
  29. extern double        strtod(char *, char **);
  30. extern long          strtol(char *, char **, int);
  31. extern unsigned long strtoul(char *, char **, int);
  32. extern int           system(char *);
  33.  
  34. #if 0                    /* Not yet implemented */
  35. typedef struct {
  36.     int quot;
  37.     int rem;
  38.     } div_t;
  39.  
  40. typedef struct {
  41.     long quot;
  42.     long rem;
  43.     } ldiv_t;
  44.  
  45. extern int           abs(int);
  46. extern char         *bsearch(char *, char *, unsigned, int, int (*compar)());
  47. extern div_t         div(int, int);
  48. extern long          labs(long);
  49. extern ldiv_t        ldiv(long, long);
  50. extern void          qsort(char *, unsigned, int, int (*compar)());
  51. #endif
  52.